﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001287 RID: 4743
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingDailyPhaseConfirmCsReq : IMessage<SwordTrainingDailyPhaseConfirmCsReq>, IMessage, IEquatable<SwordTrainingDailyPhaseConfirmCsReq>, IDeepCloneable<SwordTrainingDailyPhaseConfirmCsReq>, IBufferMessage
	{
		// Token: 0x17003C20 RID: 15392
		// (get) Token: 0x0600D4C5 RID: 54469 RVA: 0x0023C9DB File Offset: 0x0023ABDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingDailyPhaseConfirmCsReq> Parser
		{
			get
			{
				return SwordTrainingDailyPhaseConfirmCsReq._parser;
			}
		}

		// Token: 0x17003C21 RID: 15393
		// (get) Token: 0x0600D4C6 RID: 54470 RVA: 0x0023C9E2 File Offset: 0x0023ABE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingDailyPhaseConfirmCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C22 RID: 15394
		// (get) Token: 0x0600D4C7 RID: 54471 RVA: 0x0023C9F4 File Offset: 0x0023ABF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingDailyPhaseConfirmCsReq.Descriptor;
			}
		}

		// Token: 0x0600D4C8 RID: 54472 RVA: 0x0023C9FB File Offset: 0x0023ABFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingDailyPhaseConfirmCsReq()
		{
		}

		// Token: 0x0600D4C9 RID: 54473 RVA: 0x0023CA03 File Offset: 0x0023AC03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingDailyPhaseConfirmCsReq(SwordTrainingDailyPhaseConfirmCsReq other) : this()
		{
			this.fGMBFKBCGFH_ = other.fGMBFKBCGFH_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D4CA RID: 54474 RVA: 0x0023CA28 File Offset: 0x0023AC28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingDailyPhaseConfirmCsReq Clone()
		{
			return new SwordTrainingDailyPhaseConfirmCsReq(this);
		}

		// Token: 0x17003C23 RID: 15395
		// (get) Token: 0x0600D4CB RID: 54475 RVA: 0x0023CA30 File Offset: 0x0023AC30
		// (set) Token: 0x0600D4CC RID: 54476 RVA: 0x0023CA38 File Offset: 0x0023AC38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingDailyPhaseType FGMBFKBCGFH
		{
			get
			{
				return this.fGMBFKBCGFH_;
			}
			set
			{
				this.fGMBFKBCGFH_ = value;
			}
		}

		// Token: 0x0600D4CD RID: 54477 RVA: 0x0023CA41 File Offset: 0x0023AC41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingDailyPhaseConfirmCsReq);
		}

		// Token: 0x0600D4CE RID: 54478 RVA: 0x0023CA4F File Offset: 0x0023AC4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingDailyPhaseConfirmCsReq other)
		{
			return other != null && (other == this || (this.FGMBFKBCGFH == other.FGMBFKBCGFH && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D4CF RID: 54479 RVA: 0x0023CA80 File Offset: 0x0023AC80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FGMBFKBCGFH != SwordTrainingDailyPhaseType.None)
			{
				num ^= this.FGMBFKBCGFH.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D4D0 RID: 54480 RVA: 0x0023CAC5 File Offset: 0x0023ACC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D4D1 RID: 54481 RVA: 0x0023CACD File Offset: 0x0023ACCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D4D2 RID: 54482 RVA: 0x0023CAD6 File Offset: 0x0023ACD6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FGMBFKBCGFH != SwordTrainingDailyPhaseType.None)
			{
				output.WriteRawTag(16);
				output.WriteEnum((int)this.FGMBFKBCGFH);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D4D3 RID: 54483 RVA: 0x0023CB08 File Offset: 0x0023AD08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FGMBFKBCGFH != SwordTrainingDailyPhaseType.None)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.FGMBFKBCGFH);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D4D4 RID: 54484 RVA: 0x0023CB46 File Offset: 0x0023AD46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingDailyPhaseConfirmCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FGMBFKBCGFH != SwordTrainingDailyPhaseType.None)
			{
				this.FGMBFKBCGFH = other.FGMBFKBCGFH;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D4D5 RID: 54485 RVA: 0x0023CB77 File Offset: 0x0023AD77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D4D6 RID: 54486 RVA: 0x0023CB80 File Offset: 0x0023AD80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.FGMBFKBCGFH = (SwordTrainingDailyPhaseType)input.ReadEnum();
				}
			}
		}

		// Token: 0x0400551D RID: 21789
		private static readonly MessageParser<SwordTrainingDailyPhaseConfirmCsReq> _parser = new MessageParser<SwordTrainingDailyPhaseConfirmCsReq>(() => new SwordTrainingDailyPhaseConfirmCsReq());

		// Token: 0x0400551E RID: 21790
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400551F RID: 21791
		public const int FGMBFKBCGFHFieldNumber = 2;

		// Token: 0x04005520 RID: 21792
		private SwordTrainingDailyPhaseType fGMBFKBCGFH_;
	}
}
